package com.bw.service.Impl;

import com.bw.bean.Tuser;
import com.bw.dao.TuserDao;
import com.bw.service.TuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TuserServiceImpl implements TuserService {

    @Autowired
    private TuserDao tuserDao;

    @Override
    public Tuser login(String name, String password) {
        return tuserDao.login(name,password);
    }
}
